package org.spring.springboot.app.community.housecost.service;

import org.spring.springboot.app.base.R;
import org.spring.springboot.app.community.housecost.domain.vo.CommunityHouseCostVO;
import org.spring.springboot.app.community.housecost.domain.vo.HouseCostSearchVO;
import org.spring.springboot.app.community.housecost.domain.vo.TaskHouseCostVO;
import org.spring.springboot.app.community.housecost.domain.vo.UpdateHouseCostVO;

import java.util.List;

/**
 * 物业费接口类
 */


public interface ICommunityHouseCostService {


    /**
     * @return
     */
    List<CommunityHouseCostVO> findAll(HouseCostSearchVO searchVo,int pageNum,int pageSize);

    /**
     * @param id
     * @return
     */
    int delete(String id);

    /**
     *
     * @param vo
     * @return
     */
    R update(UpdateHouseCostVO vo);


    R createHouserCost(TaskHouseCostVO vo);

    R replaceHouseExpireDay(String houseId);
}
